package com.wanmait.baohan.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class Supplier implements Serializable {

    //委托代理人
    private List<Agent> agents;
    //业务联系人
    private List<BusinessContact> businessContacts;
    //企业账户信息
    private List<Account> accounts;
    //需求产品
    private List<Demand> demands;

    public List<Demand> getDemands() {
        return demands;
    }

    public void setDemands(List<Demand> demands) {
        this.demands = demands;
    }

    public List<Agent> getAgents() {
        return agents;
    }

    public void setAgents(List<Agent> agents) {
        this.agents = agents;
    }

    public List<BusinessContact> getBusinessContacts() {
        return businessContacts;
    }

    public void setBusinessContacts(List<BusinessContact> businessContacts) {
        this.businessContacts = businessContacts;
    }

    public List<Account> getAccounts() {
        return accounts;
    }

    public void setAccounts(List<Account> accounts) {
        this.accounts = accounts;
    }

    private Integer id;
    /**
	* 企业名称
	*/
    private String name;

    /**
	* 简称
	*/
    private String abbreviation;

    /**
	* 税号
	*/
    private String dutyParagraph;

    /**
	* 类型，从数据库字典中获取
	*/
    private Dictionary dictionaryA;
    private Dictionary dictionaryB;
    private Dictionary dictionaryC;

    public Dictionary getDictionaryA() {
        return dictionaryA;
    }

    public void setDictionaryA(Dictionary dictionaryA) {
        this.dictionaryA = dictionaryA;
    }

    public Dictionary getDictionaryB() {
        return dictionaryB;
    }

    public void setDictionaryB(Dictionary dictionaryB) {
        this.dictionaryB = dictionaryB;
    }

    public Dictionary getDictionaryC() {
        return dictionaryC;
    }

    public void setDictionaryC(Dictionary dictionaryC) {
        this.dictionaryC = dictionaryC;
    }


    public Dictionary getDictionaryD() {
        return dictionaryD;
    }

    public void setDictionaryD(Dictionary dictionaryD) {
        this.dictionaryD = dictionaryD;
    }

    private Dictionary dictionaryD;



    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
	* 公司地址
	*/
    private String address;

    /**
	* 法定代表人
	*/
    private String legalRepresentative;

    /**
	* 注册金额
	*/
    private String registeredAmount;

    /**
	* 币种，从数据库字典中获取
	*/
    //private Integer dictionaryIdCurrency;

    /**
	* 公司成立时间
	*/
    private Date createTime;

    /**
	* 截止日期
	*/
    private Date endTime;

    /**
	* 经营范围
	*/
    private String natureOfBusiness;

    /**
	* 登记机关
	*/
    private String registrationAuthority;

    /**
	* 所有制性质,在数据库字典上查找
	*/
    //private Integer dictionaryIdOwnership;

    /**
	* 联系电话
	*/
    private String phone;

    /**
	* 营业执照（附件）
	*/
    private String businessLicense;

    /**
	* 企业传真
	*/
    private String fax;

    /**
	* 添加时间
	*/
    private Date addTime;

    /**
	* 添加人的id
	*/
    private Integer addStaffId;

    /**
	* 修改时间
	*/
    private Date updateTime;

    /**
	* 修改人
	*/
    private Integer updateStaffId;

    /**
	* 是否为供应商（0不是供应商，1是供应商）
	*/
    private Boolean supplier;

    /**
	* 是否守信（0未授信 1授信  2拒绝授信）
	*/
    private Integer creditExtension;

    /**
	* 授信时间
	*/
    private Date creditExtensionTime;

    /**
	* 授信人
	*/
    private Integer creditExtensionStaffId;

    /**
	* 消息的渠道（数据库字典中获取）
	*/
   // private Integer dictionaryIdChannel;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAbbreviation() {
        return abbreviation;
    }

    public void setAbbreviation(String abbreviation) {
        this.abbreviation = abbreviation;
    }

    public String getDutyParagraph() {
        return dutyParagraph;
    }

    public void setDutyParagraph(String dutyParagraph) {
        this.dutyParagraph = dutyParagraph;
    }



    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLegalRepresentative() {
        return legalRepresentative;
    }

    public void setLegalRepresentative(String legalRepresentative) {
        this.legalRepresentative = legalRepresentative;
    }

    public String getRegisteredAmount() {
        return registeredAmount;
    }

    public void setRegisteredAmount(String registeredAmount) {
        this.registeredAmount = registeredAmount;
    }



    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getNatureOfBusiness() {
        return natureOfBusiness;
    }

    public void setNatureOfBusiness(String natureOfBusiness) {
        this.natureOfBusiness = natureOfBusiness;
    }

    public String getRegistrationAuthority() {
        return registrationAuthority;
    }

    public void setRegistrationAuthority(String registrationAuthority) {
        this.registrationAuthority = registrationAuthority;
    }


    public String getBusinessLicense() {
        return businessLicense;
    }

    public void setBusinessLicense(String businessLicense) {
        this.businessLicense = businessLicense;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Integer getAddStaffId() {
        return addStaffId;
    }

    public void setAddStaffId(Integer addStaffId) {
        this.addStaffId = addStaffId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getUpdateStaffId() {
        return updateStaffId;
    }

    public void setUpdateStaffId(Integer updateStaffId) {
        this.updateStaffId = updateStaffId;
    }

    public Boolean getSupplier() {
        return supplier;
    }

    public void setSupplier(Boolean supplier) {
        this.supplier = supplier;
    }

    public Integer getCreditExtension() {
        return creditExtension;
    }

    public void setCreditExtension(Integer creditExtension) {
        this.creditExtension = creditExtension;
    }

    public Date getCreditExtensionTime() {
        return creditExtensionTime;
    }

    public void setCreditExtensionTime(Date creditExtensionTime) {
        this.creditExtensionTime = creditExtensionTime;
    }

    public Integer getCreditExtensionStaffId() {
        return creditExtensionStaffId;
    }

    public void setCreditExtensionStaffId(Integer creditExtensionStaffId) {
        this.creditExtensionStaffId = creditExtensionStaffId;
    }


}